//
//  Customer.h
//  lesson one
//
//  Created by huanghui on 16/6/13.
//  Copyright © 2016年 huanghui. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol Eatdelegete <NSObject>

@required

-(void)pay:(float)money;
-(void)goodgat:(NSString *)str;

@optional

-(void)otherMethod;

@end

@interface Customer : NSObject

@property(weak,nonatomic) id<Eatdelegete>delegete;

-(void)comeToRestorant;

@end
